package cn.vivi.classes.service;

import cn.vivi.common.entity.Classes;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ClassesService {
    List<Classes> findAll();

    Classes findById(String id);

    Page<Classes> findByPage(long current, long size);

    boolean update(Classes classes);

    boolean deleteClasses(String id);

    boolean addClasses(Classes classes);
}
